package com.jsbs.iam.common.core.dyncjob.entity;

import java.time.LocalDateTime;

/**
    * 动态Job
    */
public class DyncJob {
    /**
    * 主键
    */
    private Long id;

    /**
    * Job名称
    */
    private String jobName;

    /**
    * 任务状态，0:待执行 1:成功 2:失败
    */
    private Integer jobStatus;

    /**
    * 已执行次数
    */
    private Integer execTimes;

    /**
    * 参考数据
    */
    private String refData;

    /**
    * 计划开始时间
    */
    private LocalDateTime estStartTime;

    /**
    * 异常信息
    */
    private String errMsg;

    /**
    * 创建时间
    */
    private LocalDateTime createTime;

    /**
    * 更新时间
    */
    private LocalDateTime updateTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public Integer getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(Integer jobStatus) {
        this.jobStatus = jobStatus;
    }

    public Integer getExecTimes() {
        return execTimes;
    }

    public void setExecTimes(Integer execTimes) {
        this.execTimes = execTimes;
    }

    public String getRefData() {
        return refData;
    }

    public void setRefData(String refData) {
        this.refData = refData;
    }

    public LocalDateTime getEstStartTime() {
        return estStartTime;
    }

    public void setEstStartTime(LocalDateTime estStartTime) {
        this.estStartTime = estStartTime;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }
}